/*
 * @Author: 啊彪
 * @Date: 2021-07-14 15:37:24
 * @LastEditors: 啊彪
 * @LastEditTime: 2021-08-14 11:59:57
 * @Description: 累计充值
 * @FilePath: \boss\src\model\stats\cumuPay.model.ts
 */
import mongoose from 'mongoose';

const Schema = mongoose.Schema;
const CumuPaySchema: mongoose.Schema = new Schema({
    roleId: { type: Number, display: '角色ID', index: true },
    nickName: { type: String, display: '角色昵称' },
    serverId: { type: Number, display: '区服ID' },
    totalPayMoney: { type: Number, display: '总充值', default: 0 },
    toDayPayMoney: { type: Number, display: '今日充值', default: 0 },
    actualMoney: { type: Number, display: '实际充值', default: 0 }
});

const CumuPay = mongoose.model('CumuPay', CumuPaySchema);
export default CumuPay;
